package com.vast.admin.entity;

import lombok.Data;

import java.util.List;

@Data
public class ContractForm {

    /*
[
    {
        "templateRecordId":34,
        "index":2,
        "sort":0,
        "label":"债务人",
        "type":2,
        "items":[
            {
                "placeholderTag":0,
                "placeholderName":"姓名",
                "require":1,
                "id":982,
                "value":"赵浩",
                "placeholderKey":"phk_c4"
            },
            {
                "placeholderTag":0,
                "placeholderName":"身份证号",
                "require":0,
                "id":983,
                "value":"123456789",
                "placeholderKey":"phk_c5"
            },
            {
                "placeholderTag":0,
                "placeholderName":"开户银行",
                "require":0,
                "id":992,
                "value":"12345679",
                "placeholderKey":"phk_c14"
            },
            {
                "placeholderTag":0,
                "placeholderName":"开户行",
                "require":0,
                "id":993,
                "value":"124578",
                "placeholderKey":"phk_c15"
            },
            {
                "placeholderTag":0,
                "placeholderName":"户名",
                "require":0,
                "id":994,
                "value":"08",
                "placeholderKey":"phk_c16"
            },
            {
                "placeholderTag":0,
                "placeholderName":"银行账号",
                "require":0,
                "id":995,
                "value":"78555",
                "placeholderKey":"phk_c17"
            },
            {
                "placeholderTag":0,
                "placeholderName":"电话",
                "require":0,
                "id":1002,
                "value":"8",
                "placeholderKey":"phk_c24"
            },
            {
                "placeholderTag":0,
                "placeholderName":"电子邮箱",
                "require":0,
                "id":1005,
                "value":"55555",
                "placeholderKey":"phk_c27"
            },
            {
                "placeholderTag":0,
                "placeholderName":"通信地址",
                "require":0,
                "id":1008,
                "value":"",
                "placeholderKey":"phk_c30"
            },
            {
                "placeholderTag":0,
                "placeholderName":"紧急联系人",
                "require":0,
                "id":1011,
                "value":"",
                "placeholderKey":"phk_c33"
            },
            {
                "placeholderTag":5,
                "placeholderName":"盖章",
                "require":-1,
                "id":1027,
                "placeholderKey":"phk_c49"
            }
        ],
        "tips":"已选择客户"
    },
    {
        "templateRecordId":34,
        "index":1,
        "sort":1,
        "label":"共同债务人1",
        "type":2,
        "items":[
            {
                "placeholderTag":0,
                "placeholderName":"姓名",
                "require":1,
                "id":984,
                "value":"吴宇飞",
                "placeholderKey":"phk_c6"
            },
            {
                "placeholderTag":0,
                "placeholderName":"身份证号",
                "require":0,
                "id":985,
                "value":"155866555",
                "placeholderKey":"phk_c7"
            },
            {
                "placeholderTag":0,
                "placeholderName":"电话",
                "require":0,
                "id":1003,
                "value":"55555",
                "placeholderKey":"phk_c25"
            },
            {
                "placeholderTag":0,
                "placeholderName":"电子邮箱",
                "require":0,
                "id":1006,
                "value":"5555",
                "placeholderKey":"phk_c28"
            },
            {
                "placeholderTag":0,
                "placeholderName":"通信地址",
                "require":0,
                "id":1009,
                "value":"555",
                "placeholderKey":"phk_c31"
            },
            {
                "placeholderTag":0,
                "placeholderName":"紧急联系人",
                "require":0,
                "id":1012,
                "value":"",
                "placeholderKey":"phk_c34"
            },
            {
                "placeholderTag":5,
                "placeholderName":"盖章",
                "require":-1,
                "id":1028,
                "placeholderKey":"phk_c50"
            }
        ],
        "tips":"已选择客户"
    },
    {
        "templateRecordId":34,
        "index":4,
        "sort":2,
        "label":"债权人",
        "type":1,
        "items":[
            {
                "placeholderTag":0,
                "placeholderName":"姓名",
                "require":1,
                "id":980,
                "value":"仲正众承(湖北)企业管理有限公司",
                "placeholderKey":"phk_c2"
            },
            {
                "placeholderTag":0,
                "placeholderName":"身份证号",
                "require":0,
                "id":981,
                "value":"去里咯啦咯啦",
                "placeholderKey":"phk_c3"
            },
            {
                "placeholderTag":0,
                "placeholderName":"开户银行",
                "require":0,
                "id":988,
                "value":"屠龙记",
                "placeholderKey":"phk_c10"
            },
            {
                "placeholderTag":0,
                "placeholderName":"开户行",
                "require":0,
                "id":989,
                "value":"",
                "placeholderKey":"phk_c11"
            },
            {
                "placeholderTag":0,
                "placeholderName":"户名",
                "require":0,
                "id":990,
                "value":"",
                "placeholderKey":"phk_c12"
            },
            {
                "placeholderTag":0,
                "placeholderName":"银行账号",
                "require":0,
                "id":991,
                "value":"",
                "placeholderKey":"phk_c13"
            },
            {
                "placeholderTag":0,
                "placeholderName":"电话",
                "require":0,
                "id":1001,
                "value":"",
                "placeholderKey":"phk_c23"
            },
            {
                "placeholderTag":0,
                "placeholderName":"电子邮箱",
                "require":0,
                "id":1004,
                "value":"",
                "placeholderKey":"phk_c26"
            },
            {
                "placeholderTag":0,
                "placeholderName":"通信地址",
                "require":0,
                "id":1007,
                "value":"",
                "placeholderKey":"phk_c29"
            },
            {
                "placeholderTag":0,
                "placeholderName":"紧急联系人",
                "require":0,
                "id":1010,
                "value":"",
                "placeholderKey":"phk_c32"
            },
            {
                "placeholderTag":5,
                "placeholderName":"盖章",
                "require":-1,
                "id":1026,
                "placeholderKey":"phk_c48"
            }
        ],
        "tips":"已选择企业"
    },
    {
        "templateRecordId":34,
        "index":3,
        "sort":3,
        "label":"车辆2",
        "type":0,
        "items":[
            {
                "placeholderTag":0,
                "placeholderName":"姓名",
                "require":0,
                "id":1020,
                "value":"",
                "placeholderKey":"phk_c42"
            },
            {
                "placeholderTag":0,
                "placeholderName":"品牌",
                "require":0,
                "id":1021,
                "value":"",
                "placeholderKey":"phk_c43"
            },
            {
                "placeholderTag":0,
                "placeholderName":"型号",
                "require":0,
                "id":1022,
                "value":"",
                "placeholderKey":"phk_c44"
            },
            {
                "placeholderTag":0,
                "placeholderName":"车牌号",
                "require":0,
                "id":1023,
                "value":"",
                "placeholderKey":"phk_c45"
            },
            {
                "placeholderTag":0,
                "placeholderName":"车架号",
                "require":0,
                "id":1024,
                "value":"",
                "placeholderKey":"phk_c46"
            },
            {
                "placeholderTag":0,
                "placeholderName":"发动机号",
                "require":0,
                "id":1025,
                "value":"",
                "placeholderKey":"phk_c47"
            }
        ],
        "tips":""
    },
    {
        "templateRecordId":34,
        "index":5,
        "sort":4,
        "label":"车辆1",
        "type":0,
        "items":[
            {
                "placeholderTag":0,
                "placeholderName":"姓名",
                "require":0,
                "id":1013,
                "value":"",
                "placeholderKey":"phk_c35"
            },
            {
                "placeholderTag":0,
                "placeholderName":"品牌",
                "require":0,
                "id":1014,
                "value":"",
                "placeholderKey":"phk_c36"
            },
            {
                "placeholderTag":0,
                "placeholderName":"型号",
                "require":0,
                "id":1015,
                "value":"",
                "placeholderKey":"phk_c37"
            },
            {
                "placeholderTag":0,
                "placeholderName":"车牌号",
                "require":0,
                "id":1016,
                "value":"",
                "placeholderKey":"phk_c38"
            },
            {
                "placeholderTag":0,
                "placeholderName":"车架号1",
                "require":0,
                "id":1017,
                "value":"",
                "placeholderKey":"phk_c39"
            },
            {
                "placeholderTag":0,
                "placeholderName":"发动机号",
                "require":0,
                "id":1018,
                "value":"",
                "placeholderKey":"phk_c40"
            },
            {
                "placeholderTag":0,
                "placeholderName":"车架号",
                "require":0,
                "id":1019,
                "value":"",
                "placeholderKey":"phk_c41"
            }
        ],
        "tips":""
    },
    {
        "templateRecordId":34,
        "index":6,
        "sort":5,
        "label":"其他",
        "type":0,
        "items":[
            {
                "placeholderTag":0,
                "placeholderName":"系统合同编号",
                "require":-1,
                "id":979,
                "placeholderKey":"phk_c1"
            },
            {
                "placeholderTag":0,
                "placeholderName":"借款金额小写",
                "require":0,
                "id":986,
                "value":"2000000",
                "placeholderKey":"phk_c8"
            },
            {
                "placeholderTag":0,
                "placeholderName":"借款金额大写",
                "require":0,
                "id":987,
                "value":"",
                "placeholderKey":"phk_c9"
            },
            {
                "placeholderTag":0,
                "placeholderName":"借款起始日期",
                "require":0,
                "id":996,
                "value":"",
                "placeholderKey":"phk_c18"
            },
            {
                "placeholderTag":0,
                "placeholderName":"借款到期日期",
                "require":0,
                "id":997,
                "value":"",
                "placeholderKey":"phk_c19"
            },
            {
                "placeholderTag":0,
                "placeholderName":"借款月数",
                "require":0,
                "id":998,
                "value":"12",
                "placeholderKey":"phk_c20"
            },
            {
                "placeholderTag":0,
                "placeholderName":"借款用途",
                "require":0,
                "id":999,
                "value":"",
                "placeholderKey":"phk_c21"
            },
            {
                "placeholderTag":0,
                "placeholderName":"月利率",
                "require":0,
                "id":1000,
                "value":"",
                "placeholderKey":"phk_c22"
            },
            {
                "placeholderTag":0,
                "placeholderName":"签约日期",
                "require":0,
                "id":1029,
                "value":"",
                "placeholderKey":"phk_c51"
            },
            {
                "placeholderTag":0,
                "placeholderName":"还款方式",
                "require":0,
                "id":1030,
                "value":"",
                "placeholderKey":"phk_c52"
            }
        ],
        "tips":""
    }
]
     */

    private Long templateRecordId;

    private Integer index;

    private Integer sort;

    private String label;

    private Integer type;

    private List<ContractFormItem> items;
}
